package com.ylfstu.Poly_.polydetail;

public class Animal {
    private String name;
    private int age;

    public void sleep() {
        System.out.println("睡......");
    }

    public void run() {
        System.out.println("跑......");
    }

    public void eat() {
        System.out.println("吃......");
    }

    public void show() {
        System.out.println("hello, 你好!");
    }

    public void cry() {
        System.out.println("Animal cry()......");
    }
}
